package com.yonyou.gmmc.service.JDInterface.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "TM_TP_ACCESS_TOKEN")
public class TpAccessToken {
    @Id
    @Column(name = "TOKEN_ID")
    private Long tokenId;

    @Column(name = "UIDS")
    private String uids;

    @Column(name = "REFRESH_TOKEN_EXPIRES")
    private Date refreshTokenExpires;

    @Column(name = "TIMES")
    private Date times;

    @Column(name = "EXPIRES_IN")
    private Long expiresIn;

    @Column(name = "REFRESH_TOKEN")
    private String refreshToken;

    @Column(name = "ACCESS_TOKEN")
    private String accessToken;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    /**
     * @return TOKEN_ID
     */
    public Long getTokenId() {
        return tokenId;
    }

    /**
     * @param tokenId
     */
    public void setTokenId(Long tokenId) {
        this.tokenId = tokenId;
    }

    /**
     * @return UIDS
     */
    public String getUids() {
        return uids;
    }

    /**
     * @param uids
     */
    public void setUids(String uids) {
        this.uids = uids;
    }

    /**
     * @return REFRESH_TOKEN_EXPIRES
     */
    public Date getRefreshTokenExpires() {
        return refreshTokenExpires;
    }

    /**
     * @param refreshTokenExpires
     */
    public void setRefreshTokenExpires(Date refreshTokenExpires) {
        this.refreshTokenExpires = refreshTokenExpires;
    }

    /**
     * @return TIMES
     */
    public Date getTimes() {
        return times;
    }

    /**
     * @param times
     */
    public void setTimes(Date times) {
        this.times = times;
    }

    /**
     * @return EXPIRES_IN
     */
    public Long getExpiresIn() {
        return expiresIn;
    }

    /**
     * @param expiresIn
     */
    public void setExpiresIn(Long expiresIn) {
        this.expiresIn = expiresIn;
    }

    /**
     * @return REFRESH_TOKEN
     */
    public String getRefreshToken() {
        return refreshToken;
    }

    /**
     * @param refreshToken
     */
    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    /**
     * @return ACCESS_TOKEN
     */
    public String getAccessToken() {
        return accessToken;
    }

    /**
     * @param accessToken
     */
    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}